import { get } from "../utils/request";
/**
 * 获取职称列表
 * @returns
 */
export const loadDataListAPI = () => get("/doctors/titles");
/**
 * 获取医生列表
 * @returns
 */
export const loadDataDoctorsAPI = () => get(`/doctors?per=10000&page=1`);
/**
 * 获取单个医生详情，根据id
 * @param {*} id
 * @returns
 */
export const lodaDetailApI = (id) => get(`/doctors/${id}`);
